package ClassOOR;

public class DateTest {
    public static void main(String[] args) {
        Date dt1 = new Date();
        Date dt2 = new Date();
        dt1.year = 1999;
        dt1. month = 3;
        dt1.day = 22;
        dt2.year = 1998;
        dt2. month = 5;
        dt2.day = 20;
        System.out.println(dt1.year + "\t" + dt1.month + "\t" + dt1.day);
        System.out.println(dt2.year + "\t" + dt2.month + "\t" + dt2.day);

    }
}

class Date{
    int year;
    int month;
    int day;
}